package com.ihc.app.dao.hibernate;

import java.util.List;

import com.ihc.app.dao.MainDao;
import com.ihc.app.model.Main;


/**
 * This class interacts with Spring's HibernateTemplate to save/delete and
 * retrieve Role objects.
 *
 * @author <a href="mailto:bwnoll@gmail.com">Bryan Noll</a> 
 */
public class MainDaoHibernate extends GenericDaoHibernate<Main, Long> implements MainDao {

    /**
     * Constructor to create a Generics-based version using Role as the entity
     */
    public MainDaoHibernate() {
        super(Main.class);
    }

    /**
     * Gets a list of users ordered by the uppercase version of their username.
     *
     * @return List populated list of users
     */
    public List<Main> getMain(){
    	return null;
    }

    /**
     * Saves a user's information.
     * @param user the object to be saved
     * @return the persisted User object
     */
    public Main saveMain(Main main){
    	return null;
    }
    
    
}
